<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Data Driven Substructure: PDF Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Data Driven Substructure
   
   </div>
   <div id="projectbrief">A library for carrying out Multivariate Kernel Smoothing--designed to be fast and flexible for large data processing.</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">PDF Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="PDF" -->
<p><a class="el" href="classPDF.html" title="PDF functions.">PDF</a> functions.  
 <a href="classPDF.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="pdf_8h_source.html">pdf.h</a>&gt;</code></p>

<p><a href="classPDF-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a8bade35ad19857caa9cd7a33b790aaed">Projection</a> { <b>KEEP</b>, 
<b>INTEGRATE</b>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#aa0feee39b27d3f506bf0b39018b9922a">MC_Flag</a> { <b>INPUT</b>, 
<b>OUTPUT</b>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a17f3b7c7818566cb7df35ace0235999b">PDF</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a2269340b02c7ba1bb230727052f7cdd5">operator()</a> (const valarray&lt; double &gt; &amp;ntuple, double *err=NULL) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#affe2fedabb21f2c71b598ec8c0cbe308">FullEvaluate</a> (const valarray&lt; double &gt; &amp;ntuple, double *err, valarray&lt; double &gt; &amp;grad_output) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af8fc52da6aca4f638ff42b48ade50477"></a><!-- doxytag: member="PDF::Write" ref="af8fc52da6aca4f638ff42b48ade50477" args="(const char *output) const " -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#af8fc52da6aca4f638ff42b48ade50477">Write</a> (const char *output) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">function to output a <a class="el" href="classPDF.html" title="PDF functions.">PDF</a> <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8880d565b66dc59cc117832d3acc36b4"></a><!-- doxytag: member="PDF::Read" ref="a8880d565b66dc59cc117832d3acc36b4" args="(const char *input)" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a8880d565b66dc59cc117832d3acc36b4">Read</a> (const char *input)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">function to read a <a class="el" href="classPDF.html" title="PDF functions.">PDF</a> from file <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a469c916500cafce4b3ad612180b59231"></a><!-- doxytag: member="PDF::IsValid" ref="a469c916500cafce4b3ad612180b59231" args="() const " -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a469c916500cafce4b3ad612180b59231">IsValid</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">returns true if <a class="el" href="classPDF.html" title="PDF functions.">PDF</a> is valid <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af6245580f01524eb5516ed7d0ee59449"></a><!-- doxytag: member="PDF::Rank" ref="af6245580f01524eb5516ed7d0ee59449" args="() const " -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>Rank</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a560b0754c5e98b08bc68318d23cd09b1"></a><!-- doxytag: member="PDF::Project" ref="a560b0754c5e98b08bc68318d23cd09b1" args="(const valarray&lt; Projection &gt; input) const " -->
<a class="el" href="classPDF.html">PDF</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a560b0754c5e98b08bc68318d23cd09b1">Project</a> (const valarray&lt; <a class="el" href="classPDF.html#a8bade35ad19857caa9cd7a33b790aaed">Projection</a> &gt; input) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">to get a new <a class="el" href="classPDF.html" title="PDF functions.">PDF</a> by projecting a given dimension <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abbcca53dc9ef85f2afcdfb728b1738a5"></a><!-- doxytag: member="PDF::Generator" ref="abbcca53dc9ef85f2afcdfb728b1738a5" args="(const valarray&lt; MC_Flag &gt; &amp;flag_) const " -->
MC_Generator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#abbcca53dc9ef85f2afcdfb728b1738a5">Generator</a> (const valarray&lt; <a class="el" href="classPDF.html#aa0feee39b27d3f506bf0b39018b9922a">MC_Flag</a> &gt; &amp;flag_) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">returns a MC_generator given some flags <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8181df096779059e7b03490048a4dcc1"></a><!-- doxytag: member="PDF::data" ref="a8181df096779059e7b03490048a4dcc1" args="" -->
<a class="el" href="classTensor.html">Tensor</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a8181df096779059e7b03490048a4dcc1">data</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">store <a class="el" href="classPDF.html" title="PDF functions.">PDF</a> value at a multidimensional grid <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1e8cc9fe15d12436c0ce80becba06a15"></a><!-- doxytag: member="PDF::one_over_width" ref="a1e8cc9fe15d12436c0ce80becba06a15" args="" -->
valarray&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a1e8cc9fe15d12436c0ce80becba06a15">one_over_width</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">vector to store width info <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6873c5d8068673e3cd17f67a5b06a91c"></a><!-- doxytag: member="PDF::width" ref="a6873c5d8068673e3cd17f67a5b06a91c" args="" -->
valarray&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a6873c5d8068673e3cd17f67a5b06a91c">width</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">vector to store width info <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e45a7685c1b09048e2874448d1706b2"></a><!-- doxytag: member="PDF::min" ref="a6e45a7685c1b09048e2874448d1706b2" args="" -->
valarray&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a6e45a7685c1b09048e2874448d1706b2">min</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">vector to store min values <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a04d981cda9f0587021550d1dfc46508f"></a><!-- doxytag: member="PDF::max" ref="a04d981cda9f0587021550d1dfc46508f" args="" -->
valarray&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a04d981cda9f0587021550d1dfc46508f">max</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">vector to store max values <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa88ee5b937b200a600c162f611a5a121"></a><!-- doxytag: member="PDF::nbins" ref="aa88ee5b937b200a600c162f611a5a121" args="" -->
valarray&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#aa88ee5b937b200a600c162f611a5a121">nbins</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">vector to store number of bins <br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a0cfb19a35036add49d50563cb6458909">Initialize</a> (int nvar, const double *<a class="el" href="classPDF.html#a6e45a7685c1b09048e2874448d1706b2">min</a>, const double *<a class="el" href="classPDF.html#a04d981cda9f0587021550d1dfc46508f">max</a>, const double *precision_=NULL, const double min_err_=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae023f48bd7f9297539dcaba506c8f5a8"></a><!-- doxytag: member="PDF::GetBinCenter" ref="ae023f48bd7f9297539dcaba506c8f5a8" args="(int index, int bin) const " -->
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#ae023f48bd7f9297539dcaba506c8f5a8">GetBinCenter</a> (int index, int bin) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">compute value centered at bin (a particular dimension) <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">valarray&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a6f799c70b3922ad8598d54c975fb3b9b">GetBinCenter</a> (const valarray&lt; int &gt; &amp;index) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a15de6045a0fc1f57a00708e27ab1634a"></a><!-- doxytag: member="PDF::GetBin_helper" ref="a15de6045a0fc1f57a00708e27ab1634a" args="(double value, int bin) const " -->
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a15de6045a0fc1f57a00708e27ab1634a">GetBin_helper</a> (double value, int bin) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return bin given value <br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6ce186883cb905ac3e29e750a5dc4df7"></a><!-- doxytag: member="PDF::data_bias" ref="a6ce186883cb905ac3e29e750a5dc4df7" args="" -->
<a class="el" href="classTensor.html">Tensor</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a6ce186883cb905ac3e29e750a5dc4df7">data_bias</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classPDF.html" title="PDF functions.">PDF</a> value bias. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3de5ba28ac01f7a45729d2467782fa89"></a><!-- doxytag: member="PDF::data_var" ref="a3de5ba28ac01f7a45729d2467782fa89" args="" -->
<a class="el" href="classTensor.html">Tensor</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a3de5ba28ac01f7a45729d2467782fa89">data_var</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classPDF.html" title="PDF functions.">PDF</a> value variance. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a321aa4d91698087f80bfb3e1fd8adac7"></a><!-- doxytag: member="PDF::data_err" ref="a321aa4d91698087f80bfb3e1fd8adac7" args="" -->
<a class="el" href="classTensor.html">Tensor</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a321aa4d91698087f80bfb3e1fd8adac7">data_err</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classPDF.html" title="PDF functions.">PDF</a> value error. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a879d7ba3620896398f7f020445c63864"></a><!-- doxytag: member="PDF::valid" ref="a879d7ba3620896398f7f020445c63864" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a879d7ba3620896398f7f020445c63864">valid</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">to keep track of whether not the <a class="el" href="classPDF.html" title="PDF functions.">PDF</a> is valid <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a1f3fdb969cd419df48f5ac6fd03301d7">min_err</a></td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef648af6c56fa8ee0738c93629e725dc"></a><!-- doxytag: member="PDF::DataSet" ref="aef648af6c56fa8ee0738c93629e725dc" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#aef648af6c56fa8ee0738c93629e725dc">DataSet</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">allow <a class="el" href="classDataSet.html" title="a class to store multi-dimensional data">DataSet</a> to read private members <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3e1fb0c73373d06701ea620c64a99b8f"></a><!-- doxytag: member="PDF::operator&lt;&lt;" ref="a3e1fb0c73373d06701ea620c64a99b8f" args="(ostream &amp;, const PDF &amp;)" -->
ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPDF.html#a3e1fb0c73373d06701ea620c64a99b8f">operator&lt;&lt;</a> (ostream &amp;, const <a class="el" href="classPDF.html">PDF</a> &amp;)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">streaming operator for debugging <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classPDF.html" title="PDF functions.">PDF</a> functions. </p>
<p>this class contains a table of templates values are interpolated between bins. </p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="aa0feee39b27d3f506bf0b39018b9922a"></a><!-- doxytag: member="PDF::MC_Flag" ref="aa0feee39b27d3f506bf0b39018b9922a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classPDF.html#aa0feee39b27d3f506bf0b39018b9922a">PDF::MC_Flag</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>enum for setting which is input and out in MC_generator </p>

</div>
</div>
<a class="anchor" id="a8bade35ad19857caa9cd7a33b790aaed"></a><!-- doxytag: member="PDF::Projection" ref="a8bade35ad19857caa9cd7a33b790aaed" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classPDF.html#a8bade35ad19857caa9cd7a33b790aaed">PDF::Projection</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>enum for choosing which axes to project out </p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a17f3b7c7818566cb7df35ace0235999b"></a><!-- doxytag: member="PDF::PDF" ref="a17f3b7c7818566cb7df35ace0235999b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPDF.html#a17f3b7c7818566cb7df35ace0235999b">PDF::PDF</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="classPDF.html" title="PDF functions.">PDF</a> must be initialize externally, a trivial constructor is presented but <a class="el" href="classPDF.html" title="PDF functions.">PDF</a> will be invalid until constructed by <a class="el" href="classDataSet.html" title="a class to store multi-dimensional data">DataSet</a> class or read from a file </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="affe2fedabb21f2c71b598ec8c0cbe308"></a><!-- doxytag: member="PDF::FullEvaluate" ref="affe2fedabb21f2c71b598ec8c0cbe308" args="(const valarray&lt; double &gt; &amp;ntuple, double *err, valarray&lt; double &gt; &amp;grad_output) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classPDF.html#affe2fedabb21f2c71b598ec8c0cbe308">PDF::FullEvaluate</a> </td>
          <td>(</td>
          <td class="paramtype">const valarray&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>ntuple</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>err</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">valarray&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>grad_output</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>evaluate the <a class="el" href="classPDF.html" title="PDF functions.">PDF</a>, error and grab the gradient using linear interpolation </p>

</div>
</div>
<a class="anchor" id="a6f799c70b3922ad8598d54c975fb3b9b"></a><!-- doxytag: member="PDF::GetBinCenter" ref="a6f799c70b3922ad8598d54c975fb3b9b" args="(const valarray&lt; int &gt; &amp;index) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">valarray&lt; double &gt; <a class="el" href="classPDF.html#ae023f48bd7f9297539dcaba506c8f5a8">PDF::GetBinCenter</a> </td>
          <td>(</td>
          <td class="paramtype">const valarray&lt; int &gt; &amp;&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const<code> [inline, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>compute value array centered at an vectorial index i.e. pt, m, t21...etc </p>

</div>
</div>
<a class="anchor" id="a0cfb19a35036add49d50563cb6458909"></a><!-- doxytag: member="PDF::Initialize" ref="a0cfb19a35036add49d50563cb6458909" args="(int nvar, const double *min, const double *max, const double *precision_=NULL, const double min_err_=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classPDF.html#a0cfb19a35036add49d50563cb6458909">PDF::Initialize</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nvar</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double *&#160;</td>
          <td class="paramname"><em>min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double *&#160;</td>
          <td class="paramname"><em>max</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double *&#160;</td>
          <td class="paramname"><em>precision_</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>min_err_</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>initialize the <a class="el" href="classPDF.html" title="PDF functions.">PDF</a> <a class="el" href="classPDF.html" title="PDF functions.">PDF</a> could still invalid! </p>

</div>
</div>
<a class="anchor" id="a2269340b02c7ba1bb230727052f7cdd5"></a><!-- doxytag: member="PDF::operator()" ref="a2269340b02c7ba1bb230727052f7cdd5" args="(const valarray&lt; double &gt; &amp;ntuple, double *err=NULL) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double PDF::operator() </td>
          <td>(</td>
          <td class="paramtype">const valarray&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>ntuple</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>err</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>evaluate the <a class="el" href="classPDF.html" title="PDF functions.">PDF</a> at a location using linear interpolation also obtain error if a pointer is specified </p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a1f3fdb969cd419df48f5ac6fd03301d7"></a><!-- doxytag: member="PDF::min_err" ref="a1f3fdb969cd419df48f5ac6fd03301d7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classPDF.html#a1f3fdb969cd419df48f5ac6fd03301d7">PDF::min_err</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>the error given to zero <a class="el" href="classPDF.html" title="PDF functions.">PDF</a>. This is done since Poisson "error" come in at low N or specially, an asymmetric poisson confidence interval should be used we patch things up by demanding a minimum absolute error applied whenever the pdf is computed with very small statistics </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="pdf_8h_source.html">pdf.h</a></li>
<li>pdf.c</li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Sep 12 2013 17:12:58 for Data Driven Substructure by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
